package com.ms.game.jackpot;

import com.ms.game.jackpot.message.CGetGameJackPotMoney;
import com.ms.game.jackpot.message.SGameJackpotCacheResquest;
import com.ms.game.jackpot.message.SGameNotifyJackpotMoney;
import com.xpec.c4.message.MessageTypes;
import com.xpec.c4.service.annotations.MessageType;
import com.xpec.c4.service.common.BaseMessageAction;

public class JackPotBrocastAction extends BaseMessageAction 
{
	JackPotBrocastProcesser proc;
	public JackPotBrocastAction()
	{
		proc = ((JackPotBrocastProcesser)this.getModule().getBasicprocesser());
		proc.setBaseaction(this);
	}
	
	/**
	 * 更新遊戲jp彩金
	 */
	@MessageType(typeCode = MessageTypes.S_MODIFY_JACKPOT_MONEY)
	public void revModifyJackpotMoney(SGameNotifyJackpotMoney request)
	{
		proc.revNotifyJackpotMoney(request);
	}
	
	/**
	 * 讀取遊戲jp彩金
	 */
	@MessageType(typeCode = MessageTypes.C_GET_GAME_JACKPOT_MONEY)
	public void  revGetJackpotMoney(CGetGameJackPotMoney request)
	{
		proc.revGetJackpotMoney(request);
	}
	
	/**
	 * jp server 通知快取彩金資料
	 * @param request
	 */
	@MessageType(typeCode = MessageTypes.S_GAME_CACHE_JACKPOT_MONEY)
	public void revCacheJackpotMoney(SGameJackpotCacheResquest request)
	{
		proc.revCacheJackpotMoney(request);
	}
}
